package org.example.day20240829Calendar;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;

public class Main1 {
    public static void main(String[] args) throws ParseException {
        Date date = new Date();
        Scanner scanner = new Scanner(System.in);
        String myDate = scanner.nextLine();
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
        Date Date = simpleDateFormat.parse(myDate);

        long timeDate = date.getTime()-Date.getTime();

        System.out.println(timeDate/1000/60/60/24);
    }
}
